import 'package:json_annotation/json_annotation.dart';

part 'organization_model.g.dart';

@JsonSerializable()
class OrgnizationModel {
  String? remark;
  int? orgId;
  int? parentId;
  String? orgName;
  int? orderNum;
  String? email;
  String? status;
  String? phone;
  String? address;
  double? latitude;
  int? type;

  OrgnizationModel({
    this.remark,
    this.orderNum,
    this.orgId,
    this.address,
    this.email,
    this.latitude,
    this.orgName,
    this.parentId,
    this.phone,
    this.status,
    this.type,
  });

  factory OrgnizationModel.fromJson(Map<String, dynamic> json) =>
      _$OrgnizationModelFromJson(json);

  Map<String, dynamic> toJson() => _$OrgnizationModelToJson(this);
}
